package com.yami.shop.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yami.shop.bean.model.OldUser;
import com.yami.shop.dao.OldUserMapper;
import com.yami.shop.service.OldUserService;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OldUserServiceImpl extends ServiceImpl<OldUserMapper, OldUser> implements OldUserService {

    @Autowired
    private OldUserMapper oldUserMapper;

    @Override
    public OldUser getOldUserByShopId( String userId,Long shopId) {
        return oldUserMapper.getOldUserByShopId(userId,shopId);
    }
}
